package com.guoqi.wolf2w.service.impl;

import com.guoqi.wolf2w.domain.UserInfo;
import com.guoqi.wolf2w.registory.UserInfoRegistory;
import com.guoqi.wolf2w.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements IUserInfoService {

    @Autowired
    private UserInfoRegistory registory;


    @Override
    public UserInfo findNicknameByPhone(String phone) {
        return registory.findByPhone(phone);
    }
}
